

<div class="layui-form" lay-filter="layuiadmin-form-useradmin" style="padding: 20px 0 0 0;">
    <form class="layui-form"  lay-filter="operatorFormFilter"  >
        <div class="layui-form-item">
            <label class="layui-form-label">教师id</label>
            <div class="layui-input-inline">
                <input type="text" name="tid" lay-verify="tid"
                       placeholder="请输出教师id" autocomplete="off" class="layui-input">
            </div>
        </div>

        <div class="layui-form-item">
            <label class="layui-form-label">课程id</label>
            <div class="layui-input-inline">
                <input type="text" name="cid" required  lay-verify="required" placeholder="课程ID" autocomplete="off" class="layui-input">
            </div>
        </div>
        <div class="layui-form-item">
            <div class="layui-input-block">
                <button class="layui-btn" lay-submit lay-filter="addteachFrom">保存</button>
            </div>
        </div>
    </form>


</div>

<script>
    layui.use(['admin', 'form', 'upload'], function(){
        var $ = layui.$
            ,form = layui.form
            ,upload = layui.upload;


    })
</script>